package com.huadao.cart_ccs.experiment.changeLiquidPlan;

import com.huadao.cart_ccs.base.BasePresenter;
import com.huadao.cart_ccs.base.BaseView;
import com.huadao.cart_ccs.greendao.entity.LiquidLoopPlan;

import java.util.List;

public interface IChangeLiquidPlanListContract {
    interface IChangeLiquidPlanListView extends BaseView{
        void onGetPlanList(List<LiquidLoopPlan> liquidLoopPlanList);
    }

    abstract class IChangeLiquidPlanListPresenter extends BasePresenter<IChangeLiquidPlanListView>{
        abstract void getPlanList();
        abstract void addPlan(LiquidLoopPlan plan);
        public abstract void deletePlan(LiquidLoopPlan liquidLoopPlan);
    }
}
